package com.learn.service;

import com.learn.pojo.Emp;
import com.learn.pojo.PageBean;

import java.time.LocalDate;
import java.util.List;


public interface EmpService {
    PageBean selectByPage(Integer page, Integer pageSize);

    PageBean selectByPageAndCondition(Integer page, Integer pageSize, String name, Short gender, LocalDate begin,LocalDate end);
    void deleteByIds(List<Integer> ids);

    void add(Emp emp);

    Emp getDataById(Integer id);

    void update(Emp emp);

    Emp login(Emp emp);



}
